package com.woniu.lifeservice.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 服务详情表
 * </p>
 *
 * @author hushunlai
 * @since 2023-05-22
 */
@Getter
@Setter
  @TableName("t_service_details")
@ApiModel(value = "ServiceDetails对象", description = "服务详情表")
public class ServiceDetails implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("服务ID")
      @TableId(value = "service_id", type = IdType.AUTO)
      private Integer serviceId;

      @ApiModelProperty("用户ID")
      private Integer userId;

      @ApiModelProperty("服务标题")
      private String serviceTitle;

      @ApiModelProperty("服务一级分类")
      private String serviceCategoryFirst;

      @ApiModelProperty("服务二级分类")
      private String serviceCategorySecond;

      @ApiModelProperty("服务详情")
      private String serviceDetails;

      @ApiModelProperty("详情图片")
      private String detailsPhoto;

      @ApiModelProperty("是否需要上门")
      private Byte visit;

      @ApiModelProperty("地址")
      private String address;

      @ApiModelProperty("发布人类型")
      private Byte publishType;

      @ApiModelProperty("联系电话")
      private String mobil;

      @ApiModelProperty("浏览人数")
      private Integer visitors;

      @ApiModelProperty("创建时间")
      @TableField(fill = FieldFill.INSERT)
      private Date createTime;

      @ApiModelProperty("更新时间")
      @TableField(fill = FieldFill.INSERT_UPDATE)
      private Date updateTime;
}
